<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">产品管理</h1>
</div>

<div class="wrapper-md">
  <div class="panel panel-default">
    <div class="panel-heading">
      借款人管理
    </div>
    <toaster-container toaster-options="{'position-class': 'toast-center', 'close-button':true}"></toaster-container>
    <div class="panel-body b-b b-light">
      <p>
        ID: <input id="filter" type="text" ng-model="BorrData.Id" class="form-control input-sm w-sm inline m-r">
        姓名: <input id="filter" type="text" ng-model="BorrData.FullName" class="form-control input-sm w-sm inline m-r">
        电话: <input id="filter" type="text" ng-model="BorrData.Mobile" class="form-control input-sm w-sm inline m-r">
        <button class="btn btn-info btn-addon" ng-if='!graybtn' ng-click="queryBorr()">查询</button>
        <button class="btn btn-light btn-addon" ng-if='graybtn'>查询</button>
        </p>
        <p>
            <input id="filter" type="text" ng-model="addBorrMoblie" class="form-control input-sm w-sm inline m-r" maxlength="11" placeholder="请输入借款人手机号">
            <button class="btn btn-info btn-addon" ng-click="addBorr()">添加</button>
        </p>            
    </div>
    <div class="table-responsive">
      <table id="tab" class="table table-striped m-b-none">
        <thead>
          <tr>
            <th style="min-width: 25px">ID</th>
            <th style="min-width: 50px">姓名</th>
            <th style="min-width: 50px">电话</th>
            <th style="min-width: 80px">身份证</th>
            <th style="min-width: 50px">系统可用余额</th>
            <th style="min-width: 50px">汇付可用余额</th>
            <th style="min-width: 100px">汇付账户余额</th>
            <th style="min-width: 100px">汇付冻结金额</th>
          </tr>
        </thead>
        <tbody>
          <tr ng-if="BorrList==''"><td colspan="9">当前无任何数据</td></tr>
          <tr ng-repeat="obj in BorrList">
            <td ng-bind="obj.Id"></td>
            <td ng-bind="obj.FullName"></td>
            <td ng-bind="obj.Mobile"></td>
            <td ng-bind="obj.IdCard"></td>
            <td ng-bind="obj.UsablePrice"></td>
            <td ng-bind="obj.BankUsablePrice"></td>
            <td ng-bind="obj.AcctBal"></td>
            <td ng-bind="obj.FrzBal"></td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
  <div class="btn-group pull-right">
    <button type="button" class="btn btn-default" ng-click="prev()"><font><font>上一页</font></font></button>
    <button type="button" class="btn btn-default btnNum">{{BorrData.Index}}</button>
    <button type="button" class="btn btn-default" ng-click="next()"><font><font>下一页</font></font></button>
    <span class="btn btn-default">共<span ng-bind="BorrListCount+'条数据'"></span></span>
  </div>
